package com.example.forumadminbackend.mapper;

import com.example.forumadminbackend.entity.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface CommentMapper {
    Comment selectById(@Param("commentId") String commentId);
    List<Comment> selectByPostId(@Param("postId") String postId);
    int delete(@Param("commentId") String commentId);
    List<Comment> selectAll();
} 